package net.sx.minemodule.mvp.item;

import com.kedll.library.mvp.BaseItem;

import net.sx.minemodule.R;
import net.sx.minemodule.mvp.model.CommissionListModel;

/**
 * 提成详情item
 */
public class CommissionListItem extends BaseItem<CommissionListModel> {

    public CommissionListItem(CommissionListModel data) {
        super(data);
    }

    @Override
    public int getLayout() {
        return R.layout.mine_item_commision_list;
    }

    public String getCreateTime() {
        return getData().getCreateTime();      //时间
    }

    public String getIntegralSource() {
        return getData().getIntegralSource();  //提成来源
    }

    public String getOrderSn() {
        return getData().getOrderSn();         //订单编号
    }

    public String getTotalRoyalty() {
        return getData().getTotalRoyalty();    //每（月/日）提成
    }
}
